package com.aspose.cells.b.a.d;

import com.aspose.cells.Encoding;

public class zb {
   private zm a;
   private byte[] b;
   private Encoding c;

   public zb(zm var1) {
      this.c = Encoding.getUnicode();
      this.a = var1;
      this.b = new byte[16];
   }

   public zb(zm var1, Encoding var2) {
      this(var1);
      this.c = var2;
   }

   public zm a() {
      return this.a;
   }

   public void b() throws Exception {
      this.a.b();
   }

   public void a(byte[] var1, int var2, int var3) throws Exception {
      this.a.b(var1, var2, var3);
   }

   public void a(byte[] var1) throws Exception {
      this.a.b(var1, 0, var1.length);
   }

   public void a(byte var1) throws Exception {
      this.b[0] = var1;
      this.a.b(this.b, 0, 1);
   }

   public void a(short var1) throws Exception {
      this.b[0] = (byte)var1;
      this.b[1] = (byte)(var1 >> 8);
      this.a.b(this.b, 0, 2);
   }

   public void a(int var1) throws Exception {
      this.a((short)var1);
   }

   public void b(int var1) throws Exception {
      this.b[0] = (byte)var1;
      this.b[1] = (byte)(var1 >> 8);
      this.b[2] = (byte)(var1 >> 16);
      this.b[3] = (byte)(var1 >> 24);
      this.a.b(this.b, 0, 4);
   }

   public void a(long var1) throws Exception {
      this.b((int)var1);
   }

   public void b(long var1) throws Exception {
      this.a(var1 & 4294967295L);
      this.a(var1 >> 32);
   }

   public void a(double var1) throws Exception {
      this.b(Double.doubleToLongBits(var1));
   }
}
